package com.jsyl.entity.flow;

import java.io.Serializable;

import com.jsyl.entity.common.BaseEntity;
import com.jsyl.entity.common.orm.annotation.Column;
import com.jsyl.entity.common.orm.annotation.Entity;
import com.jsyl.entity.common.orm.annotation.Id;

/**
 * 流程处理过程实体
 * @author song
 *<p> </p>
 */
@Entity(table = "NF_FLOW_PROCESS")
public class FlowProcess extends BaseEntity implements Serializable {


	private static final long serialVersionUID = 2327500759507631956L;
	 
	 @Id
	 @Column("ID")
	 private Integer id;
	 
	/* 借款实例ID*/
	 @Column("LOAN_ID")
	 private Integer loanId;
	 
	/* 办理人ID*/
	 @Column("SUSER_ID")
	 private Integer suser;
	 
	/* 上一办理人ID*/
	 @Column("UPUSER_ID")
	 private Integer upUser;
	 
	/* 状态*/
	 @Column("STATUS")
	 private Integer status;
	 
	/* 当前节点*/
	 @Column("CNODE")
	 private Integer cnode;
	 
	 /*开始时间*/
	 @Column("STIME")
	 private String stime;
	 
	/* 审批时间*/
	 @Column("ATIME")
	 private String atime;
	 
	/* 审批意见*/
	 @Column("COMMENT")
	 private String comment;
	
	@Override
	public Integer getId() {
		return id;
	}

	public Integer getLoanId() {
		return loanId;
	}

	public void setLoanId(Integer loanId) {
		this.loanId = loanId;
	}

	public Integer getSuser() {
		return suser;
	}

	public void setSuser(Integer suser) {
		this.suser = suser;
	}

	public Integer getUpUser() {
		return upUser;
	}

	public void setUpUser(Integer upUser) {
		this.upUser = upUser;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getCnode() {
		return cnode;
	}

	public void setCnode(Integer cnode) {
		this.cnode = cnode;
	}

	public String getStime() {
		return stime;
	}

	public void setStime(String stime) {
		this.stime = stime;
	}

	public String getAtime() {
		return atime;
	}

	public void setAtime(String atime) {
		this.atime = atime;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public void setId(Integer id) {
		this.id = id;
	}
   
}
